package com.aistar;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(basePackages = "com.aistar.mapper")
@EnableTransactionManagement //事务管理器
@EnableScheduling //开启任务调度器
@ServletComponentScan //springboot中能够识别servlet注解，@WebServlet @WebFilter @WebListener
public class HireApplication {
    public static void main(String[] args){
        SpringApplication.run(HireApplication.class,args);
    }
}
